package com.it.service;

import com.github.pagehelper.PageInfo;
import com.it.bean.User;
import com.it.dto.UserDTO;
import com.it.dto.UserRoleDTO;
import com.it.page.PageQuery;
import com.it.vo.UserVo;

import java.util.List;

public interface UserService {

    PageInfo<UserVo> page(PageQuery<UserDTO> pageQuery);

    void save(UserRoleDTO user);

    List<User> list(User user);

    void delete(Long id);
}
